Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent Namespace / Packager Class / SendToServer Method / SendToServer(Predicate<SessionSummary>,Boolean,String) Method
A delegate to evaluate sessions and determine which ones to send.
True to have every included session marked as read upon successful completion.
The Loupe Service customer name.

SendToServer(Predicate<SessionSummary>,Boolean,String) Method
Send sessions to the Loupe Service using the specified customer name.
Syntax
'Declaration
 
Public Overloads Sub SendToServer( _
   ByVal sessionMatchPredicate As Predicate(Of SessionSummary), _
   ByVal markAsRead As Boolean, _
   ByVal customerName As String _
) 
 

Parameters

sessionMatchPredicate
A delegate to evaluate sessions and determine which ones to send.
markAsRead
True to have every included session marked as read upon successful completion.
customerName
The Loupe Service customer name.
Exceptions
ExceptionDescription
The server couldn't be contacted or there was a communication error.
The server configuration specified is invalid.
Remarks
The EndSend event will be raised when the send operation completes. Because sessions are sent one by one, they will be individually marked as read once sent.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also